<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
    <div class="panel panel-default">
        <div class="panel-body">
        <div class="col-sm-12">
            <div class="row mt10">
                <div class="col-sm-2">
                  <input class="form-control"  type="text" ng-model="searchform.project_name" placeholder="项目名称">
                </div>
                <div class="col-sm-2">
                    <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                        <input class="form-control"/>
                        <span class="input-group-addon">
                          <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
                <div class="col-sm-2">
                    <div class="input-group" datetimepicker ng-model="vm1.date" options="vm1.options">
                        <input class="form-control"/>
                        <span class="input-group-addon">
                          <span class="glyphicon glyphicon-calendar"></span>
                        </span>
                    </div>
                </div>
                <div class="col-sm-2">
                    <select class="form-control" ng-model="searchform.project_level">
                        <option value=''>请选择项目级别</option>
                        <option value='3'>国家级</option>
                        <option value='2'>省级</option>
                        <option value='4'>区域级</option>
                        <option value='1'>市级</option>
                    </select>
                </div>
                <div class="col-sm-2">
                    <select class="form-control" ng-model="searchform.project_state">
                        <option value=''>请选择项目状态</option>
                        <option value='0'>审核中</option>
                        <option value='2'>已驳回</option>
                        <option value='4'>已淘汰</option>
                    </select>
                </div>
                <div class="col-sm-2 pull-right">
                    <button class="btn btn-block btn-info" ng-click="pageChanged()">搜索</button> 
                </div>
            </div>       
        </div>
        </div>
    </div>
        <!-- searchArea -->
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-condensed table-hover table-bordered">
                <thead>
                    <tr>
                        <th class="col-md-1 text-center">项目名称</th>
                        <th class="col-md-1 text-center">项目类型</th>
                        <th class="col-md-1 text-center">项目级别</th>
                        <th class="col-md-1 text-center">项目类别</th>
                        <th class="col-md-1 text-center">所属区县</th>
                        <th class="col-md-1 text-center">申报单位</th>
                        <th class="col-md-1 text-center">是否需要区县审核</th>
                        <th class="col-md-3 text-center">项目状态</th>
                        <th class="col-md-2 text-center">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="info in a">
                        <td class="text-center">{{info.project_name}}</td>
                        <td class="text-center" ng-if="info.project_build == '0'">建设类</td>
                        <td class="text-center" ng-if="info.project_build == '1'">非建设类</td>
                        <td class="text-center" ng-if="info.project_level == '3'">国家级</td>
                        <td class="text-center" ng-if="info.project_level == '2'">省级</td>
                        <td class="text-center" ng-if="info.project_level == '4'">区域级</td>
                        <td class="text-center" ng-if="info.project_level == '1'">市级</td>
                        <td class="text-center">{{info.project_type}}</td>
                        <td class="text-center">{{info.company_code_name}}</td>
                        <td class="text-center">{{info.view_company_name}}</td>
                        <td class="text-center" ng-if="info.city_project == '0'">需要</td>
                        <td class="text-center" ng-if="info.city_project == '1'">不需要</td>
                        <td class="text-left" ng-show="info.list != ''">
                          <div ng-repeat="process in info.list">{{process.logmessage}}</div>
                        </td>
                        <td class="text-left" ng-show="info.list == ''">创建草稿, 草稿时间: {{info.apply_time}}</td>
                        <td class="text-center">
                            <a type="button" class="btn btn-info btn-xs" ng-click="toinfo(info)">项目详情</a >  
                            <a type="button" class="btn btn-warning btn-xs" ng-click="progress($index)">项目进度</a > 
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="text-right">
                 <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="pageChanged()" previous-text="上一页" next-text="下一页"
                    first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                    class="m-t-none m-b">
                </pagination>
            </div>
        </div>
    </div>
    
</div>